<include file="Common:header" />

<!-- main start -->
<span class="blank10"></span>
<div class="w990">
  <div id="main">
  <!-- left -->
    <div id="bang" class="left mg10">
	  <div class="hds">
		<h4>最近入库</h4>
	  </div>
	  <div class="con">
		<ul class="norl">
				<volist name="newBookList" id="vo">
		  		    <li><a href="{:U("Catalog/index", "cat=$vo[catId]")}" target="_blank" class="gray1">[{$catMap[$vo.catId].catName}]</a>  <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a></li>
		  		</volist> 
		 </ul>
	  </div>
	  <span class="blank10"></span>
	  <div class="hds">
		<h4>本周排行</h4>
	  </div>
	  <div class="con">
		<ul class="norl">
			<volist name="weekRank" id="vo">
  		  		<li><a href="{:U("Catalog/index", "cat=$vo[catId]")}" target="_blank" class="gray1">[{$catMap[$vo.catId].catName}]</a>  <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a><span>{$vo.weekClick}</span></li>
  		  	</volist> 
		</ul>
	  </div>
	  <span class="blank10"></span>
	  <!-- - -->
	  <div class="hds">
		<h4>本月排行</h4>
	  </div>
	  <div class="con">
		<ul class="norl">
  		  	<volist name="monthRank" id="vo">
  		  		<li><a href="{:U("Catalog/index", "cat=$vo[catId]")}" target="_blank" class="gray1">[{$catMap[$vo.catId].catName}]</a>  <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a><span>{$vo.monthClick}</span></li>
  		  	</volist> 
		 </ul>
	  </div>
	  <span class="blank10"></span>
	  <!-- - -->
	  <div class="hds">
		<h4>全站总排行</h4>
	  </div>
	  <div class="con">
		<ul class="norl">
  		  <ul class="norl">
  		  	<volist name="totalRank" id="vo">
  		  		<li><a href="{:U("Catalog/index", "cat=$vo[catId]")}" target="_blank" class="gray1">[{$catMap[$vo.catId].catName}]</a>  <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a><span>{$vo.click}</span></li>
  		  	</volist> 
		  </ul>
		</ul>
	  </div>	  
    </div>
	<!-- center -->
	<div id="xin" class="left mg10">
	  <div class="hdc hm">
		<ul class="stab">
		  <li class="curr" onmouseover="tabChange(this,'stabcon')">热点</li>
		  <li onmouseover="tabChange(this,'stabcon')">推荐</li>
		  <li onmouseover="tabChange(this,'stabcon')">名家</li>
		  <li onmouseover="tabChange(this,'stabcon')">文学</li>
		</ul>
		<h4 class="pa red2">新书推荐</h4>
	  </div>
	  <div class="con" id="stabcon">
		<ul id="sbc">
			<volist name="hotRecomend" id="vo" key="k">
		  		<li class="sbbk <eq name="mod" value="0">bdashline</eq>">
				    <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank"><img src="{$vo.pic}" alt="{$vo.bookName}" width="120" height="150" class="left img1"></a>
					<div class="ssm right">
					  <h3><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a></h3>
					  <p>{$vo.desc|substr=0,150}<a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" class="red2">[点击阅读]</a></p>
					</div>
					<span class="clear"></span>
				  </li>
			</volist>
		  </ul>
        	<ul id="sbc" class="hidden">
	  		<volist name="topRecomend" id="vo" key="k">
		  		<li class="sbbk <eq name="mod" value="0">bdashline</eq>">
				    <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank"><img src="{$vo.pic}" alt="{$vo.bookName}" width="120" height="150" class="left img1"></a>
					<div class="ssm right">
					  <h3><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a></h3>
					  <p>{$vo.desc|substr=0,150}<a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" class="red2">[点击阅读]</a></p>
					</div>
					<span class="clear"></span>
				  </li>
			</volist>
		  </ul>
        	<ul id="sbc" class="hidden">
		  	<volist name="fameRecomend" id="vo" key="k">
		  		<li class="sbbk <eq name="mod" value="0">bdashline</eq>">
				    <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank"><img src="{$vo.pic}" alt="{$vo.bookName}" width="120" height="150" class="left img1"></a>
					<div class="ssm right">
					  <h3><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a></h3>
					  <p>{$vo.desc|substr=0,150}<a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" class="red2">[点击阅读]</a></p>
					</div>
					<span class="clear"></span>
				  </li>
			</volist>
		 </ul>
        	<ul id="sbc" class="hidden">
		  	<volist name="artRecomend" id="vo" key="k">
		  		<li class="sbbk <eq name="mod" value="0">bdashline</eq>">
				    <a href="{:U("Book/index", "book=$vo[id]")}" target="_blank"><img src="{$vo.pic}" alt="{$vo.bookName}" width="120" height="150" class="left img1"></a>
					<div class="ssm right">
					  <h3><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a></h3>
					  <p>{$vo.desc|substr=0,150}<a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" class="red2">[点击阅读]</a></p>
					</div>
					<span class="clear"></span>
				  </li>
			</volist>
		</ul>
	  </div>
	  <span class="blank10"></span>
	  <!-- - -->
	  <div class="hdc">
		<h4>优秀小说推荐</h4>
	  </div>
	  <div class="con_np">
		<volist name="catRecommend" id="cat">
			<div class="bkj <eq name="mod" value="0">bg1 left<else/>right</eq>">
			  <div class="bkhd hm">
			    <h2><a href="{:U("Catalog/index", "cat=$cat[id]")}" target="_blank">{$cat.catName}</a></h2><span><a href="{:U("Catalog/index", "cat=$cat[id]")}" target="_blank">更多</a></span>
			  </div>
			  <div class="bkcon">
				<a href="{:U("Book/index", "book=$cat[picRecommend][id]")}" target="_blank"><img src="{$cat.picRecommend.pic}" width=65 height=80 class="left img1" alt="{$cat.picRecommend.bookName}"></a>
				<div class="nr right">
				  <h3><a href="{:U("Book/index", "book=$cat[picRecommend][id]")}" target="_blank" title="{$cat.picRecommend.bookName}">{$cat.picRecommend.bookName}</a></h3>
			      <p>{$cat.picRecommend.desc|substr=0,100}</p>			
				</div>
				<div class="blank5"></div>
			 		    <ul class="norl2">
			 		    	<volist name="$cat[listRecommend]" id="vo">
			  			  <li><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.bookName}</a><span>{$vo.author}</span></li>
						</volist>
			 		    </ul>
			  </div>
			</div>
			<eq name="mod" value="1"><span class="blank5 bgline"></span></eq>
		</volist>
		<if condition="count($catRecommend)%2 eq 1">
			<span class="blank5"></span>
		</if>
	  </div>
	  <span class="blank10"></span>
	  <div class="hdc">
		<h4>最新更新小说列表</h4>
	  </div>
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="gxlb">
	    <tr>
		  <th width="13%">类别</th>
		  <th width="47%">书名/章节</th>
		  <th width="13%">作者</th>
		  <th width="17%">更新时间</th>
		</tr>
		<volist name="lastUpdateList" id="vo">
			<tr class="<eq name="mod" value="0">nji<else/>nou</eq>">
			  <td><a href="{:U("Catalog/index", "cat=$vo[catId]")}" target="_blank">{$catMap[$vo.catId].catName}</a></td>
			  <td><a href="{:U("Book/index", "book=$vo[bookId]")}"  target="_blank">{$vo.bookName}</a><a href="{:U("Book/content", "book=$vo[bookId]&contentId=$vo[id]")}" target="_blank" class="gray2" target="_blank">{$vo.title}</a></td>
			  <td align=right></td>
			  <td align=center>{$vo.addTime|date=Y-m-d H:i:s}</td>
			</tr>
		</volist>
		
	  </table>
	</div>
	<!-- right -->
	<div id="bang" class="right">
	  <!-- <div class="hds">
		<h4>小说作家</h4>
	  </div>
	  <div class="con">
	    <div class="zz">
		  		  <span class="clear"></span>
		</div>
	  </div>
	  <span class="blank10"></span> -->
	  <div class="hds">
		<h4>大家都在读</h4>
	  </div>
	  <div class="con">
		<ul class="norl">
			<volist name="todayRank" id="vo">
  		  		<li><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.author}: {$vo.bookName}</a></li>
  		  	</volist> 
		</ul>
	  </div>
	  <span class="blank10"></span>
	  <div class="hds">
		<h4>随机推荐 有缘阅读</h4>
	  </div>
	  <div class="con">
		<ul class="norl">
			<volist name="randomList" id="vo">
  		  		<li><a href="{:U("Book/index", "book=$vo[id]")}" target="_blank" title="{$vo.bookName}">{$vo.author}: {$vo.bookName}</a></li>
  		  	</volist> 
		</ul>
	  </div>
	  <span class="blank10"></span>
	  <div class="hds">
		<h4>网站公告</h4>
	  </div>
	  <div class="con">
	    <ul class="norl">
		  		    <li ><a href='' title="关于第一小说系统版本" target="_blank">关于第一小说系统版本</a></li>
		  		    <li ><a href='' title="感谢第一小说系统" target="_blank">感谢第一小说系统</a></li>
		  		</ul>
	  </div>
	</div>
  </div>
</div>
<!-- main end -->

<include file="Common:footer" />
